package cn.edu.sdjzu.xg.eagle.service.inface;

import cn.edu.sdjzu.xg.eagle.entities.Teacher;

import java.sql.SQLException;
import java.util.List;

public interface TeacherService {
    String addTeacher(Teacher teacher) throws SQLException;
    String deleteTeacher(Integer id) throws SQLException;
    String updateTeacher(Teacher teacher) throws SQLException;
    Teacher getTeacher(Integer id) throws SQLException;
    List<Teacher> getTeachers() throws SQLException;
}